package com.ctcemti.mdm.project.sys.dao;

import com.ctcemti.mdm.project.sys.entity.RelDisciplinesMethods;
import com.ctcemti.mdm.project.sys.entity.RelDisciplinesMethods;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.IdsMapper;

import java.util.List;


@Mapper
public interface RelDisciplinesMethodsMapper extends tk.mybatis.mapper.common.Mapper<RelDisciplinesMethods>,IdsMapper<RelDisciplinesMethods> {

    /* *
     * @Author bxf
     * @Description 根据方法id数组删除对应关系
     * @Date 11:28 2019/7/23
     * @param ids
     * @return int
     */
    int deleteByMethodId(String ids[]);
    /* *
     * @Author bxf
     * @Description 批量添加
     * @Date 22:10 2019/7/25
     * @param list
     * @return int
     */
    int insertBatch(List<RelDisciplinesMethods> list);
}